export enum Action {
  // 左移
  Left,
  // 右移
  Right,
  // 单
  Single,
  // 双
  Double,
  // 大
  Large,
  // 小
  Small,
  // 开始
  Start,
  // 颜色
  Color,
  // 点子
  Score
}

export type TPoint = 'person' | 'bar' | 'seven' | 'star' | 'watermelon' | 'bell' | 'mango' | 'orange' | 'apple'
export type TColor = 'red' | 'yellow' | 'green'
export type TSize = 'large' | 'small'
export type Color = TColor | ''

export interface Point {
  label?: string
  alias?: string
  action?: Action
  color?: Color
  type?: TSize
  isFruit?: boolean
  fruitType?: TSize | 'apple'
  barType?: 50 | 100
}

export interface Item<V> {
  label: string
  value?: V
  action?: Action
  icon?: string
  score?: number
}
